from django.shortcuts import render_to_response
from django.template import RequestContext
from django.views.generic import ListView

from testproject.testapp.models import TestA

class ListViewTest(ListView):
    model = TestA
    paginate_by=6

def home(request):
    return render_to_response('testapp/home.html', {}, RequestContext(request))

def whats_in_it(request):
    return render_to_response('testapp/whats-in-it.html', RequestContext(request))

def grid_test(request):
    return render_to_response('testapp/grid-test.html', RequestContext(request))

def demo_screenshots(request):
    return render_to_response('testapp/demo-screenshots.html', RequestContext(request))
